﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace VisionCloud.Domain.DtoModel.Fms
{
    public class Ceiling3DJsonResult
    {
        public List<DataItem> Data { set; get; }
        public string Source { get; set; }
    }

    public class DataItem
    {
        public string BIMMapCode { get; set; }
        public List<Point> Boundary { set; get; }
        public string BuildingName { get; set; }
        public double CeilHeight { set; get; }
        /// <summary>
        /// 传料口数据结构
        /// </summary>
        [JsonProperty("data_hole")]
        public List<List<Point>> DataHole { get; set; } = new List<List<Point>>();
        public string FloorNo { get; set; }
        public string ProjectName { get; set; }
        public string RoomNo { get; set; }
        /// <summary>
        /// 拼缝和龙骨数据结构
        /// </summary>
        public List<DateValue> Data { set; get; } = new List<DateValue>();
    }

    public class DateValue
    {
        public double Depth { get; set; }
        public double Direction { get; set; }
        //public double EdgeId { set; get; }
        public List<Point> Location { get; set; }
        public int Type { get; set; }
    }
}
